<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        padding: 0;
        margin: 0;
      }
      #box {
        margin: 100px auto;
        width: 188px;
        height: 40px;
      }
      #box li {
        float: left;
        margin-right: 5px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border: 1px solid black;
        color: white;
        background-color: black;
        cursor: pointer;
        border-radius: 50%;
        list-style: none;
      }
    </style>
  </head>
  <body>
    <ul id="box">
      <li>这</li>
      <li>是</li>
      <li>首</li>
      <li>页</li>
    </ul>
  </body>
</html>
